package com.graduate.after.bean;

public class DetailBaseData {

    private Long iid;
    private String name;
    private String title;
    private String discount;
    private String priceScope;
    private Double oldPrice;
    private Double realPrice;
    private Integer sales;
    private Integer collect;

    public DetailBaseData() {
    }

    public DetailBaseData(Long iid, String name, String title, String discount, String priceScope, Double oldPrice,
                          Double realPrice, Integer sales, Integer collect) {
        this.iid = iid;
        this.name = name;
        this.title = title;
        this.discount = discount;
        this.priceScope = priceScope;
        this.oldPrice = oldPrice;
        this.realPrice = realPrice;
        this.sales = sales;
        this.collect = collect;
    }

    public Long getIid() {
        return iid;
    }

    public void setIid(Long iid) {
        this.iid = iid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDiscount() {
        return discount;
    }

    public void setDiscount(String discount) {
        this.discount = discount;
    }

    public String getPriceScope() {
        return priceScope;
    }

    public void setPriceScope(String priceScope) {
        this.priceScope = priceScope;
    }

    public Double getOldPrice() {
        return oldPrice;
    }

    public void setOldPrice(Double oldPrice) {
        this.oldPrice = oldPrice;
    }

    public Double getRealPrice() {
        return realPrice;
    }

    public void setRealPrice(Double realPrice) {
        this.realPrice = realPrice;
    }

    public Integer getSales() {
        return sales;
    }

    public void setSales(Integer sales) {
        this.sales = sales;
    }

    public Integer getCollect() {
        return collect;
    }

    public void setCollect(Integer collect) {
        this.collect = collect;
    }

    @Override
    public String toString() {
        return "DetailData{" +
                "iid=" + iid +
                ", name='" + name + '\'' +
                ", title='" + title + '\'' +
                ", discount='" + discount + '\'' +
                ", priceScope='" + priceScope + '\'' +
                ", oldPrice=" + oldPrice +
                ", realPrice=" + realPrice +
                ", sales=" + sales +
                ", collect=" + collect +
                '}';
    }
}
